<!--<?php
print <<<EOT
-->

<td valign="top">
<table width="100%"  border="0" cellspacing="10" cellpadding="0">
<tr>
<td align="left" valign="top">
                
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25" valign="top" class="ytitle" colspan=3>Promoter List</td>
  </tr>
  
  
  <tr>
  <td align="left" valign="top" >
  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
    <form method="post">
    <input type="hidden" name="act" value="search">
    <tr>
      <td width="110" >Search a promoter :</td>
      <td>     
        <script> 
            function cls(){ 
            with(event.srcElement) 
            if(value==defaultValue) value="" 
            } 
            function res(){ 
            with(event.srcElement) 
            if(value=="") value=defaultValue 
            } 
        </script> 
        <input name="psearch" type="text" style="width:165px" value="Enter promoter's name" onFocus="cls()" onBlur="res()">
        <input name="psubmit" type="submit" class="inputbt" value=" Go ">
        </td>
        <td align="right"><input name="btn" type="button" class="inputbt" onclick="location.href='promoter_signup.php';" value="Join as a Promoter">      
    </td>
    </tr>
    </form>
  </table>
  </td>
  </tr>
  
  <tr>
    <td align="left" valign="top" ><TABLE height=24 cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
        <TR>
          <TD align=left> Record 1 - {$total} of {$total}</TD>
          <TD align=right></TD>
        </TR>
      </TABLE>
      <table width="100%"  border="0" cellspacing="1" cellpadding="5">
        <tr bgcolor="#B5C3D6">
          <td class="white8">Promoter's Name</td>
          <td class="white8">Promoter's ID</td>
          <td class="white8">Promoter's Website</td>
        </tr>
        
<!--
EOT;
foreach ($promoter_list_ary as $k=>$v) {    
print <<<EOT
-->         
        
        <tr bgcolor="#E0E7EE">
          <TD align=center>{$v['firstname']} {$v['lastname']}</TD>
          <TD align=center>{$v['id']}</TD>
          <TD align=left valign=top>{$v['website']}</TD>
        </TR>
        
<!--
EOT;
}
print <<<EOT
-->                   
        
      </TABLE></td>
  </tr>
  
  
</table>

</td>
</tr>
</table>
</td>

<!--
EOT;
?>-->